package com.wq.myinterface.interfacedemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.wq.myinterface.R;
import com.wq.myinterface.interfacedemo.VuleCalBack;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    static String strData = "回调数据11";//这是要传的数据
//    static VuleCalBack calback;
    public static void SetCalBack(VuleCalBack calback){
        if(calback!=null){
            calback.finsh(strData);
        }
    }

}
